package com.yijumao.shop.service;

import com.yijumao.shop.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    int deleteByPrimaryKey(Integer uid);

    int insert(User record);

    User selectByPrimaryKey(Integer uid);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User login(@Param("username") String username, @Param("password")String password);
}
